package com.czy.owner.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by hedepu on 2017-08-30
 */

public class PackageDetailsModel {


    /**
     * note :
     * originalPrice : 6300
     * buyTime : 1503046416074
     * storeId : 434
     * packageType : store
     * userPackageId : 1674
     * servicePackageId : 608
     * userOrderId : 9392
     * buyUserId : 31804
     * price : 200
     * logo : http://localhost:8080/res/download/11951
     * startTime : 1502985600000
     * packageItemList : {"0":{"itemId":"3612","itemName":"雁峰汽车通风座椅","itemType":"goods","specName":"颜色:白色","price":"700","count":"13","logo":"","userPackageItemId":"4256","totalCount":"3","userPackageId":"1674","status":"normal","specGroupKey":"2c94bd888da44dcb8701cac2447e8294"},"1":{"itemId":"3612","itemName":"雁峰汽车通风座椅","itemType":"goods","specName":"颜色:黑色","price":"700","count":"13","logo":"","userPackageItemId":"4257","totalCount":"3","userPackageId":"1674","status":"normal","specGroupKey":"4d6a41a0754241769e5644fb2c4b8420"},"2":{"itemId":"3612","itemName":"雁峰汽车通风座椅","itemType":"goods","specName":"颜色:黄色","price":"700","count":"3","logo":"","userPackageItemId":"4258","totalCount":"3","userPackageId":"1674","status":"normal","specGroupKey":"b68c85c7a2a14515a52d07ea24d87259"}}
     * packageName : 套餐111
     * endTime : 1504195199000
     * status : normal
     */

    private String note;
    private String originalPrice;
    private String buyTime;
    private String storeId;
    private String packageType;
    private String userPackageId;
    private String servicePackageId;
    private String userOrderId;
    private String buyUserId;
    private String price;
    private String logo;
    private String startTime;
    private List<PackageItemListBean> packageItemList;
    private String packageName;
    private String endTime;
    private String status;

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(String originalPrice) {
        this.originalPrice = originalPrice;
    }

    public String getBuyTime() {
        return buyTime;
    }

    public void setBuyTime(String buyTime) {
        this.buyTime = buyTime;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getPackageType() {
        return packageType;
    }

    public void setPackageType(String packageType) {
        this.packageType = packageType;
    }

    public String getUserPackageId() {
        return userPackageId;
    }

    public void setUserPackageId(String userPackageId) {
        this.userPackageId = userPackageId;
    }

    public String getServicePackageId() {
        return servicePackageId;
    }

    public void setServicePackageId(String servicePackageId) {
        this.servicePackageId = servicePackageId;
    }

    public String getUserOrderId() {
        return userOrderId;
    }

    public void setUserOrderId(String userOrderId) {
        this.userOrderId = userOrderId;
    }

    public String getBuyUserId() {
        return buyUserId;
    }

    public void setBuyUserId(String buyUserId) {
        this.buyUserId = buyUserId;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }


    public List<PackageItemListBean> getPackageItemList() {
        return packageItemList;
    }

    public void setPackageItemList(List<PackageItemListBean> packageItemList) {
        this.packageItemList = packageItemList;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }


    public static class PackageItemListBean implements Serializable{
        /**
         * itemId : 3612
         * itemName : 雁峰汽车通风座椅
         * itemType : goods
         * specName : 颜色:白色
         * price : 700
         * count : 13
         * logo :
         * userPackageItemId : 4256
         * totalCount : 3
         * userPackageId : 1674
         * status : normal
         * specGroupKey : 2c94bd888da44dcb8701cac2447e8294
         */
        private int currentCount;
        private String itemId;
        private String itemName;
        private String itemType;
        private String specName;
        private String price;
        private String count;
        private String logo;
        private String userPackageItemId;
        private String totalCount;
        private String userPackageId;
        private String status;
        private String specGroupKey;
        private boolean unlimitedCount;//是否无限次

        public boolean isUnlimitedCount() {
            return unlimitedCount;
        }

        public void setUnlimitedCount(boolean unlimitedCount) {
            this.unlimitedCount = unlimitedCount;
        }

        public int getCurrentCount() {
            return currentCount;
        }

        public void setCurrentCount(int currentCount) {
            this.currentCount = currentCount;
        }

        public String getItemId() {
            return itemId;
        }

        public void setItemId(String itemId) {
            this.itemId = itemId;
        }

        public String getItemName() {
            return itemName;
        }

        public void setItemName(String itemName) {
            this.itemName = itemName;
        }

        public String getItemType() {
            return itemType;
        }

        public void setItemType(String itemType) {
            this.itemType = itemType;
        }

        public String getSpecName() {
            return specName;
        }

        public void setSpecName(String specName) {
            this.specName = specName;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getCount() {
            return count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public String getUserPackageItemId() {
            return userPackageItemId;
        }

        public void setUserPackageItemId(String userPackageItemId) {
            this.userPackageItemId = userPackageItemId;
        }

        public String getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(String totalCount) {
            this.totalCount = totalCount;
        }

        public String getUserPackageId() {
            return userPackageId;
        }

        public void setUserPackageId(String userPackageId) {
            this.userPackageId = userPackageId;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getSpecGroupKey() {
            return specGroupKey;
        }

        public void setSpecGroupKey(String specGroupKey) {
            this.specGroupKey = specGroupKey;
        }
    }


}
